package com.example.system.domain.classroom.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDate;

@Getter
@Setter
public class ClassroomDetailVO {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long classroomId;

    private String classroomName;

    private String classroomType;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate startDate;

    private String bio;

    private Integer status; // 0 报名中、1 已开课、2 已结业

}
